package rtti;

import framework.AbstractTest;

/**
 * Created by shane on 2018/6/11.
 */
public class Toy extends AbstractTest {
    @Override
    public void test(String[] args) {
        super.test(args);
        Class<Toy> clz = Toy.class;
        try {
            Toy toy = clz.newInstance();

            Toy toy2 = clz.cast(toy);
        } catch (Exception e) {
            e.printStackTrace();
        }

    }

    @Override
    protected String getTag() {
        return super.getTag();
    }
}
